package com.wisdom.view;

import org.sipdroid.sipua.R;
import com.wisdom.tools.CCPConfig;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class SettingMyAccount extends Activity {
	TextView text_phone;
	TextView text_balance;
	@Override
	public void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_settings_myaccount);
		initResourceRefs();
	}
	void initResourceRefs(){
		text_phone=(TextView)findViewById(R.id.text_phone);
		text_phone.setText("账号："+CCPConfig.GetUserName());
		
		text_balance=(TextView)findViewById(R.id.text_balance);
		String money="";
		if(CCPConfig.Balance==null)
			money="0.00";
		text_balance.setText("余额："+money);
	}
}
